﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using BookingSystemDAL;
using BookingSystemModel;

namespace BookingSystem
{
    public class UserBLL
    {
        private static UserDAL userdal = new UserDAL();
        public UserBLL()
        {

        }
        //添加用户
        public static int AddUser(user User)
        {
            return userdal.AddUser(User);
        }
        //查询所有用户
        public static DataSet SearchUser()
        {
            return userdal.SearchUser();
        }
    }
}
